package com.easygem.common.vo.front;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author luoxi
 * @version 1.0
 * @className CallLog
 * @Description TODO
 * @date 2025/2/18 15:55
 */
@Data
public class CallLogVo {
    private Long logId;
    private Long userId;
    private String sessionId;
    private String bindNbr;
    private String callerNbr;
    private String calleeNbr;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date callOutStartTime;
    private Integer duration;
    private Integer secondsDuration;
    private String recordUrl;
    private String status;
    private Integer ulFailReason;
    private Double consumptionAmount;

    //归属部门
    private List<Long> ids;
    //用户昵称
    private String nickName;
    //客户名称
    private String resourceName;
    //部门名称
    private String deptName;


    //用户id 用于用户昵称查询
    private String nickNameId;
    //部门Id 用于用户部门查询
    private String deptNameId;
    //最短时长
    private Integer minDuration;
    //最大时长
    private Integer maxDuration;

    //呼叫时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime2;//开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deadline;//截止时间



    //用于坐席话务统计的批量导出
    private List<Long> userIds;

    private String accountName;
}
